package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 品类表
 * </p>
 *
 * @author jiangge
 * @since 2020-09-13
 */
@TableName("bty_item_type")
public class ItemType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 类型id
     */
    @TableField("item_type_id")
    private String itemTypeId;

    /**
     * 类型名称
     */
    @TableField("item_type_name")
    private String itemTypeName;

    /**
     * 类型编码
     */
    @TableField("item_type_code")
    private String itemTypeCode;

    /**
     * 上级id
     */
    @TableField("parent_type_id")
    private String parentTypeId;

    /**
     * 修改时间
     */
    @TableField("modify_date")
    private Date modifyDate;


    public String getItemTypeId() {
        return itemTypeId;
    }

    public void setItemTypeId(String itemTypeId) {
        this.itemTypeId = itemTypeId;
    }

    public String getItemTypeName() {
        return itemTypeName;
    }

    public void setItemTypeName(String itemTypeName) {
        this.itemTypeName = itemTypeName;
    }

    public String getItemTypeCode() {
        return itemTypeCode;
    }

    public void setItemTypeCode(String itemTypeCode) {
        this.itemTypeCode = itemTypeCode;
    }

    public String getParentTypeId() {
        return parentTypeId;
    }

    public void setParentTypeId(String parentTypeId) {
        this.parentTypeId = parentTypeId;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    @Override
    public String toString() {
        return "ItemType{" +
        "itemTypeId=" + itemTypeId +
        ", itemTypeName=" + itemTypeName +
        ", itemTypeCode=" + itemTypeCode +
        ", parentTypeId=" + parentTypeId +
        ", modifyDate=" + modifyDate +
        "}";
    }
}
